#ifndef ALGORITHMINPUTDIALOG_H
#define ALGORITHMINPUTDIALOG_H

#include <QDialog>
#include <QFileDialog>

#include "algorithm.h"
#include "task.h"

namespace Ui {
    class algorithmInputDialog;
}

class AlgorithmInputDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AlgorithmInputDialog(QWidget *parent = 0);
    ~AlgorithmInputDialog();

    void prepare();

private:
    Ui::algorithmInputDialog *ui;

private slots:
    void okPressed();
    void browseDLL();
    void browseHelp();
    void clearAndClose();

signals:
    void itemMade(const Algorithm algoritm);
};

#endif // ALGORITHMINPUTDIALOG_H
